<template>

<div >
            <header id="header">
                    <div id="top">
                           <img id="icon" src="../assets/moo.png" alt=""> 
                            <span id="topFont">MOO</span>
                            <strong>moo音乐qq系列版</strong>   
                            <img id="infoicon" src="../assets/mooicon.png"> 
                    </div>
                    <nav id="nav">
                        <ul>
                            <router-link class="clickChange" to="/home"><li>推荐</li></router-link>
                            <router-link class="clickChange" to="/list"><li>排行</li></router-link>
                        </ul>
                    </nav>
                </header>
</div>
</template>

<script>
export default {

}
</script>

<style>
html,body{
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #F7F7F7;
}
/* #app{
    position: relative;
} */

#header{
    height: 108px;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px #ccc;
    position: fixed;
    top: 0%;
    z-index:10;
}
#top {
    height: 55px;
    left: 8%;
    position: relative;
}

#topFont{
    position: absolute;
    top:25%;
}

#icon{
    margin-top:5px ;
    height: 50px;
    width: 50px;
}

#infoicon{
    position: absolute;
    top: 25%;
    right: 15%;
    width: 80px;
}

#nav {
    text-align: center;
    
}

#nav ul {
    list-style: none;
    display: flex;
    padding-right: 8%;
}
#nav li {
    height: 36px;
}
.clickChange{
    flex:1;
    text-decoration: none;
    color: rgba(26,26,26,.5)
}

/* search */
#search{
    margin-top: 30%;
    margin-bottom: 3%;
    height: 42px;
    text-align: center;

}
#search input{
    height: 35px;
    border: none;
    outline: none;
    width: 88%;
    font-size: 15px;
    text-align: center;
    border-radius: 15px;
    padding-left: 2%;
    background-color: white;
    /* box-shadow: 0 0px 1px #ccc; */
}

.router-link-active{
    color: rgba(34,213,156,1);
    border-bottom:solid 2px  rgba(34,213,156,1);
}

@font-face {
  font-family: 'iconfont';  /* project id 1507710 */
  src: url('//at.alicdn.com/t/font_1507710_hlbmdvus4gh.eot');
  src: url('//at.alicdn.com/t/font_1507710_hlbmdvus4gh.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_1507710_hlbmdvus4gh.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_1507710_hlbmdvus4gh.woff') format('woff'),
  url('//at.alicdn.com/t/font_1507710_hlbmdvus4gh.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_1507710_hlbmdvus4gh.svg#iconfont') format('svg');
}

.iconfont{
    font-family:"iconfont" !important;
    font-size:18px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 42%;
    top: 2%;
}

</style>